﻿using System.Collections.Generic;

using Cinema.Model.Entities.BaseEntities;

namespace Cinema.Model.Entities
{
    public class Movie : IdentifiableEntityBase
    {
        public string Title { get; set; }
        public string Director { get; set; }
        public string Country { get; set; }
        public int Year { get; set; }

        public virtual ICollection<Genre> Genres { get; set; }
        public virtual ICollection<MovieType> Types { get; set; }
        public virtual ICollection<Actor> Actors { get; set; }
        public virtual ICollection<Projection> Projections { get; set; }
    }
}
